<include file="public@agent_header" />
</head>
<body>
	<div class="wrap">
		<form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:url('manager/examine')}">
			<div class="form-group">
				<label class="col-sm-2 control-label"><span class="form-required">*</span>处理结果</label>
				<div class="col-md-6 col-sm-10">
					<select class="form-control" name="act">
						<option value="">请选择</option>
						<option value="yes">审核通过</option>
						<option value="no">审核驳回</option>
					</select>
				</div>
			</div>
			<div class="form-group" id="up" style="display:none;">
				<label class="col-sm-2 control-label"><span class="form-required">*</span>提交上级</label>
				<div class="col-md-6 col-sm-10">
					<label class="radio-inline">
						<input value="3" type="radio" name="up">总经理
					</label>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label"><span class="form-required">*</span>原因/意见</label>
				<div class="col-md-6 col-sm-10">
					<textarea class="form-control" name="opinion"></textarea>
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-offset-2 col-sm-10">
					<input type="hidden" name="order_id" value="{:input('id')}">
					<button type="submit" class="btn btn-primary js-ajax-submit">提交</button>
				</div>
			</div>
		</form>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
	<script type="text/javascript">
	$('select[name=act]').change(function(){
		var act = $(this).val();
		if(act == 'up'){
			$('#up').show();
		}else{
			$('#up').hide();
		}
	});
	</script>
</body>
</html>